export var getYearWeek = function(a, b, c){
  /*  
  date1是当前日期  
  date2是当年第一天  
  d是当前日期是今年第多少天  
  用d + 当前年的第一天的周差距的和在除以7就是本年第几周  
  */
  var date1 = new Date(a, parseInt(b) - 1, c),
      date2 = new Date(a, 0, 1),
  d = Math.round((date1.valueOf() - date2.valueOf()) / 86400000);
  return Math.ceil((d + ((date2.getDay() + 1) - 1)) / 7);
};



export const footList = [
  {path:"movie",name:'movie',text:"电影",icon:"icon-dianying"},
  {path:"cinema",name:'cinema',text:"影院",icon:"icon-cinema"},
  {path:"shop",name:'shop',text:"电商",icon:'icon-shangpin',hot:true},
  {path:"news",name:'news',text:"资讯",icon:'icon-zixun'},
  {path:"mine",name:'mine',text:"我的",icon:'icon-icon_mine'},
]


